#pragma once
#include<stdio.h>
#include<string.h>
#include<stdlib.h>


#define MAX 100
#define MAX_NAME 30
#define MAX_SEX 5
#define MAX_TELE 15
#define MAX_ADDR 30


typedef struct PeoInfo
{
	char name[MAX_NAME];
	int age;
	char sex[MAX_SEX];
	int tele[MAX_TELE];
	char addr[MAX_ADDR];
}PeoInfo;

typedef struct Contact
{
	int sz;
	PeoInfo data[MAX];
}Contact;

void AddCcontact(Contact* pc);
void ShowContact(Contact* pc);
void DelCcontact(Contact* pc);
void SearchCcontact(Contact* pc);


